﻿<%@ Page Title="" Language="VB" MasterPageFile="~/MainPage.master" AutoEventWireup="false" CodeFile="ProfileModify.aspx.vb" Inherits="ProfileModify" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<fieldset>
<legend><label>Profile Details</label></legend>
<ul>
    <li><asp:Label ID="lblFirstName" runat="server" Text="First Name:"></asp:Label><asp:TextBox ID="tbFirstName"
        runat="server"></asp:TextBox></li>
   <li> <asp:Label ID="lblLastName" runat="server" Text="Last Name:"></asp:Label><asp:TextBox ID="tbLastName"
        runat="server"></asp:TextBox></li>
    <li><asp:Label ID="lblAlias" runat="server" Text="Alias:"></asp:Label><asp:TextBox ID="tbAlias"
        runat="server"></asp:TextBox></li>
    <li>
        <asp:Label ID="lblProfilePic" runat="server" Text="Upload Profile Picture"></asp:Label><asp:FileUpload ID="ProfilePicUl" runat="server" /></li>
        </ul>
    <fieldset>
    <legend><h4>Interests</h4></legend>
        <asp:CheckBoxList ID="cbInterests" runat="server" DataSourceID="DSInterests" 
            DataTextField="Type" DataValueField="ID">
        </asp:CheckBoxList>
        <asp:SqlDataSource ID="DSInterests" runat="server" 
            ConnectionString="<%$ ConnectionStrings:myFirstDatabase %>" 
            ProviderName="<%$ ConnectionStrings:myFirstDatabase.ProviderName %>" 
            SelectCommand="SELECT DISTINCT * FROM [tblArticleType]"></asp:SqlDataSource>
    </fieldset>
</fieldset>
    <asp:Button ID="btnProfile" runat="server" Text="Update Profile" />

</asp:Content>

